package org.jeecg.modules.demo.xiaocailiang.service.impl;

import org.jeecg.modules.demo.xiaocailiang.entity.Xiaocailiang;
import org.jeecg.modules.demo.xiaocailiang.mapper.XiaocailiangMapper;
import org.jeecg.modules.demo.xiaocailiang.service.IXiaocailiangService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: xiaocailiang
 * @Author: jeecg-boot
 * @Date:   2021-11-22
 * @Version: V1.0
 */
@Service
public class XiaocailiangServiceImpl extends ServiceImpl<XiaocailiangMapper, Xiaocailiang> implements IXiaocailiangService {

    @Resource
    private XiaocailiangMapper XiaocailiangMapper;


    @Override
    public List<Xiaocailiang> getListBymonth(Xiaocailiang xiaocailiang) {
        return XiaocailiangMapper.getListBymonth(xiaocailiang);
    }

    @Override
    public Xiaocailiang getSumxl() {
        return XiaocailiangMapper.getSumxl();
    }

    @Override
    public Xiaocailiang getOrdersl() {
        return XiaocailiangMapper.getOrdersl();
    }

    @Override
    public Xiaocailiang getPaydata() {
        return XiaocailiangMapper.getPaydata();
    }

    @Override
    public Xiaocailiang getShourufenxi() {
        return XiaocailiangMapper.getShourufenxi();
    }

    @Override
    public List<Xiaocailiang> getEChartsdata() {
        return XiaocailiangMapper.getEChartsdata();
    }
}
